<template>
	<view class="search">
		<view class="salesvolume">
			<view class="so">
				实时销量：
				<view class="so1">
					{{querySaleInfoByStId.totalSaleAmount}}
				</view>
			</view>
			
			<view class="so2">
				店铺名称：
				<view class="so3">
					{{querySaleInfoByStId.storeName}}
				</view>
			</view>
		</view>
		
		
		<!-- <TabBar currentPage="service"></TabBar> -->
	</view>
</template>

<script>
	import { querySaleInfoByStId } from '@/api/new.js'
	
	
	import { log } from 'util'
		export default {
			name: 'Input',
			data () {
				return {
					querySaleInfoByStId:{}
				}
			},
			methods: {
				
				
			},
			components: {
				
			},
			mounted () {
				let data1 = {
					id:4
				}
				querySaleInfoByStId(data1).then(res => {
					this.querySaleInfoByStId = res.data.data
					
				})
			},
			// methods: {}
		}
</script>

<style scoped>
	
	.salesvolume{
		width: 100%;
	}
  .so{
	  padding-left: 20px;
	  font-weight: bold;
	  margin-top: 15px;
	  height: 66px;
	  border-bottom: 1px solid;
  }
  .so1{
	  float: right;
	  margin-right: 20px;
  }
  .so2{
  	  padding-left: 20px;
  	  font-weight: bold;
  	  margin-top: 50px;
  }
  .so3{
  	  float: right;
  	  margin-right: 20px;
  }
</style>